package com.hrzyit.whistle.im.entity

/**
 * 聊天消息实体
 * @author YangWei
 * @date 2019/4/22
 */
class MessageInfo {
    var type: Int = 0
    var content: String? = null
    var filepath: String? = null
    var sendState: Int = 0
    var time: String? = null
    var header: String? = null
    var imageUrl: String? = null
    var voiceTime: Long = 0
    var msgId: String? = null

    override fun toString(): String {
        return "MessageInfo{" +
                "type=" + type +
                ", content='" + content + '\''.toString() +
                ", filepath='" + filepath + '\''.toString() +
                ", sendState=" + sendState +
                ", time='" + time + '\''.toString() +
                ", header='" + header + '\''.toString() +
                ", imageUrl='" + imageUrl + '\''.toString() +
                ", voiceTime=" + voiceTime +
                ", msgId='" + msgId + '\''.toString() +
                '}'.toString()
    }
}
